package bean;

import java.util.ArrayList;

public class Lval {

	String code;
	String val;
	
	public Lval() {
	}
		
	public Lval(String code, String val) {
		this.code = code;
		this.val = val;
	}
	
	public ArrayList <Lval> civilite() {
		ArrayList <Lval> res = new ArrayList <Lval>();
		res.add(new Lval("m","Monsieur"));
		res.add(new Lval("mme","Madame"));
		return res;
	}
	
	public ArrayList <Lval> pays() {
		ArrayList <Lval> res = new ArrayList <Lval>();
		res.add(new Lval("allemagne","Allemagne"));
		res.add(new Lval("france","France"));
		return res;
	}
	
	public static ArrayList <Lval> langues() {
		ArrayList <Lval> res = new ArrayList <Lval>();
		res.add(new Lval("francais","Français"));
		res.add(new Lval("espagnol","Espagnol"));
		return res;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getVal() {
		return val;
	}

	public void setVal(String val) {
		this.val = val;
	}
	
}
